import React, { Component } from 'react'

export default class My extends Component {
  render() {
    return (
      <div>
        我的  <button onClick={() => {
          window.sessionStorage.setItem('token', '');
          this.props.history.push('/page/login');
        }}>退出</button>
      </div>
    )
  }
}

